public class Method{
	public static void main(String[] args){
		System.out.println(square(7));
		printRandomNum();
	}
	static int square(int num){
		return num*num;
		
	}
	static void printRandomNum(){
		int num;
		while(true){
		num =(int)( Math.random()*(91)+10);
		System.out.println(num);
		if(num==77){
			System.out.println(num);
			return;
			}
		}
	}
}